package untiring.interfaces;

import java.util.List;

import javax.servlet.http.HttpServletResponse;

import untiring.models.CartVO;
import untiring.models.OrderVO;

public interface OrderService {
	public String newOrder(OrderVO p);
	public List<OrderVO> readOrder();
	public OrderVO readOneOrder(String pno);
	public String modifyOrder(OrderVO p);
	public String removeOrder(String pno);
	public byte[] viewImage(OrderVO p, HttpServletResponse res) throws Exception;
	public String newCart(CartVO c);
	public List<CartVO> readCart();
}
